//
//  OSHttpManager.h
//  ZKCompetitionApp
//
//  Created by 凯朱 on 2019/8/24.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, OSRequestMethod) {
    GET = 0, /**/
    POST = 1 /**/
};

typedef void(^OSRequiredFinished)(BOOL isSuccessed,id result,NSString *code,NSString *message);
@interface OSHttpManager : NSObject

//上传文件
+(void)uploadFilesWithParams:(NSData *)fileData finished:(OSRequiredFinished)finished;

//上传视频文件
+(void)uploadVideoFilesWithParams:(NSData *)fileData finished:(OSRequiredFinished)finished;

+(void)postWithPath:(NSString *)path params:(NSDictionary *)params finished:(OSRequiredFinished)finished;

+(void)getWithPath:(NSString *)path params:(NSDictionary *)params finished:(OSRequiredFinished)finished;
@end


